#ifndef	__TUTK_HANDLE_FUNCTION_H__
#define __TUTK_HANDLE_FUNCTION_H__

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <net/if.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include "IOTCAPIs.h"
#include "AVAPIs.h"
#include "AVFRAMEINFO.h"
#include "AVIOCTRLDEFs.h"
#include "AVAPIs_Server.h"
#include "ProductTestCommon.h"
#include "ProductTestKey.h"
#include "ProductTestUartCommon.h"

typedef enum
{
    PRO_FUNC_INCREASE_RECORD_MIC_VOLUME = 1 << 0,
}EComProductFunc1;

enum {
    E_DNS_TEST_SHELL_CLEAN_RET = 1000,
};

int Handle_IOTYPE_USER_DEVINFO(int av_index, char* buf);
int Handle_IOTYPE_USER_GET_LISTWIFIAP(int av_index, char* buf);
int Handle_IOTYPE_USER_GET_PRODUT_AUTOTEST_RESULT(int av_index, char* buf);
int Handle_IOTYPE_USER_SET_PRODUCT_INFO(int av_index, char* buf);
int Handle_IOTYPE_USER_GET_MAC(int av_index, char* buf);
int Handle_IOTYPE_USER_GET_PID(int av_index, char* buf);
int Handle_IOTYPE_USER_SET_PETWANT_TYPE(int av_index, char* buf);
int Handle_IOTYPE_USER_SET_LOCATION_MODE_TYPE(int av_index, char* buf);
int Handle_IOTYPE_USER_GET_DEV_UCHECK(int av_index, char* buf);
int Handle_IOTYPE_USER_SET_DEV_PID(int av_index, char* buf);
int Handle_IOTYPE_USER_DEVICE_RESET(int sid, int av_index, char* buf);
int Handle_IOTYPE_USER_SKIP_PRODUCT_TEST(int av_index, char* buf);
int Handle_IOTYPE_USER_GET_BLE_MCU_MAC(int av_index, char* buf);
int Handle_IOTYPE_SET_DEVICE_BASIC_CONFIG(int av_index, char* buf);
int Handle_IOTYPE_SET_TY_AP_NAME(int av_index, char* buf);
int Handle_IOTYPE_REPORT_UID_AUTHKEY(int av_index, char* buf);
int Handle_IOTYPE_PRODUCT_FUNC_MODIFIED(int av_index, char* buf);
int Handle_IOTYPE_GET_BATTERY_CAPACITY(int av_index, char* buf);

#endif /* end of __TUTK_HANDLE_FUNCTION_H__ */
